<!-- BEGIN: center-->
<script language="JavaScript">
	function doRegister(){
		var frm = document.frmRegister;
		if(frm.username.value == ''){
			alert('Ban vui long nhap ten dang ky');
			frm.username.focus();
			return false;
		}
		if(frm.password.value == ''){
			alert('Ban vui long nhap mat khau');
			frm.password.focus();
			return false;
		}
		if(frm.address.value == ''){
			alert('Ban vui long nhap dia chi');
			frm.address.focus();
			return false;
		}
		if(frm.mail.value == ''){
			alert('Ban vui long nhap dia chi mail');
			frm.mail.focus();
			return false;
		}
		if(frm.phone.value == ''){
			alert('Ban vui long nhap so dien thoai lien lac');
			frm.phone.focus();
			return false;
		}
		frm.submit();
	}
</script>
<form name="frmRegister" method="post" action="index.php?mod=member&act=register">
<input type="hidden" name="frmAct" value="doRegister" />
<table cellpadding="3" cellspacing="3" border="0" width="100%">
	<!-- BEGIN: blockFalse-->
	<tr>
		<td colspan="2">
			username nay da ton tai, vui long dung ten khac
		</td>
	</tr>
	<!-- END: blockFalse-->
	<tr>
		<td colspan="2" style="font-size: 16px;font-weight: bold;">Member Register</td>
	</tr>
	<tr>
		<td width="100" align="right">User Name:</td>
		<td><input name="username" type="text" value="" style="width: 200px;" autocomplete="off" /></td>
	</tr>
	<tr>
		<td align="right">Password:</td>
		<td><input name="password" type="password" value="" style="width: 200px;"  autocomplete="off" /></td>
	</tr>
	<tr>
		<td align="right">Address:</td>
		<td><input name="address" type="text" value="" style="width: 200px;"  autocomplete="off" /></td>
	</tr>
	<tr>
		<td align="right">Mail:</td>
		<td><input name="mail" type="text" value="" style="width: 200px;"  autocomplete="off" /></td>
	</tr>
	<tr>
		<td align="right">Phone:</td>
		<td><input name="phone" type="text" value="" style="width: 200px;"  autocomplete="off" /></td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<input type="button" value="Register" name="Register" onclick="doRegister();" />
		</td>
	</tr>
</table>
</form>
<!-- END: center-->